OS=linux

gen_public_rpc:
	goctl rpc protoc ./service/public/rpc/proto/public.proto --go_out=./service/public/rpc/ss --go-grpc_out=./service/public/rpc --zrpc_out=./service/public/rpc/

gen_public_api:
	goctl api go -api ./service/public/api/apis/index.api -dir ./service/public/api -style gozero

proto:
	protoc --proto_path=service/public/rpc/proto \
		--go_out=./service/public/rpc/ --go_opt=paths=source_relative \
		--go-grpc_out=./service/public/rpc/ --go-grpc_opt=paths=source_relative \
		service/public/rpc/proto/**/*.proto
